/**
Zeke Elder - zbe@andrew.cmu.edu
Amal Chemmany - achemman@andrew.cmu.edu
Nishant Kumar - nkumar1@andrew.cmu.edu
15-637
4/2/2012
 **/

package edu.cmu.fithub.actions;

import javax.servlet.http.HttpServletRequest;

import edu.cmu.fithub.controller.Action;

public class LogoutAction extends Action {

	public LogoutAction() {
	}

	public String getName() {
		return "logout.do";
	}

	public String perform(HttpServletRequest request) {
		request.getSession().setAttribute("user", null);
		return "redirectToHome.jsp";
	}
}
